package com.inforich.tourist.service.impl;

import java.util.List;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.inforich.tourist.mapper.CommodityMapper;
import com.inforich.tourist.domain.Commodity;
import com.inforich.tourist.service.ICommodityService;

/**
 * 产品Service业务层处理
 *
 * @author hjm
 * @date 2022-10-22
 */
@Service
public class CommodityServiceImpl extends ServiceImpl<CommodityMapper, Commodity> implements
    ICommodityService {

  @Override
  public Page<Commodity> pageCommodity(Page<Commodity> page, Map<String, Object> map) {
    return baseMapper.pageCommodity(page, map);
  }

  @Override
  public List<Commodity> listCommodity(Map<String, Object> map) {
    return baseMapper.listCommodity(map);
  }


}
